package com.pc.cloud.services;

public class MetricArg {
	public static final int SUM = 0;
	public static final int COUNT = 1;
	public static final int DISTINCT_COUNT = 2;
	
	private String fieldName;
	private int type;
	
	//The minimum value of the value set
	private long min = Long.MIN_VALUE;
	
	//The maximum value of the value set
	private long max = Long.MAX_VALUE;
	
	public long getMin() {
		return min;
	}

	public void setMin(long min) {
		this.min = min;
	}

	public long getMax() {
		return max;
	}

	public void setMax(long max) {
		this.max = max;
	}
	
	
	public MetricArg(String fieldName, int type) {
		super();
		this.fieldName = fieldName;
		this.type = type;
	}
	
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
}
